{"version":3,"sources":["script.js"],"names":["window","this","BX","exports","main_core_events","main_polyfill_intersectionobserver","main_popup","main_core","Default","editor","htmlEditor","babelHelpers","classCallCheck","defineProperty","name","iconClassName","disabledForTextarea","src","toolbarSort","handler","bind","createClass","key","value","parse","text","unparse","bxTag","oNode","hasButton","buttonParams","getButton","id","getParser","_this","obj","Parse","parserId","UnParse","Spoiler","_Default","inherits","_babelHelpers$getProt","_len","arguments","length","args","Array","_key","possibleConstructorReturn","getPrototypeOf","call","apply","concat","assertThisInitialized","Loc","getMessage","result","bbCode","synchro","IsFocusedOnTextarea","action","actions","formatBlock","exec","bxTagParams","tag","formatBbCode","content","pLEditor","test","replace","reg2","match","str","title","body","SetBxTag","i","node","childNodes","bbParser","GetNodeHtml","trim","hasAttribute","getAttribute","PostUser","EventEmitter","subscribe","_ref","_ref$compatData","slicedToArray","compatData","event","onKeyDownHandler","formID","_ref2","_ref2$compatData","onKeyUpHandler","_ref3","_ref3$compatData","textareaView","GetCursorPosition","onTextareaKeyUpHandler","_ref4","_ref4$compatData","onTextareaKeyDownHandler","_this2","tagId","userId","userName","projectId","projectName","departmentId","departmentName","_this3","forEach","String","Type","isStringFilled","isUndefined","Controller","cid","container","getEventObject","data","emit","parentNode","BaseEvent","values","callback","undefined","actionPool","push","isReady","shift","e","console","log","getId","getFieldName","reinitFrom","querySelector","inputFile","removeChild","get","DiskController","_Controller","_catchHandler","diskUfUploader","func","UploaderManager","getById","subscribeOnce","diskUfHandler","CID","agent","params","controlName","from","querySelectorAll","ii","hasOwnProperty","files","document","tagName","type","size","sizeInt","width","height","storage","previewUrl","fileId","selectFile","_templateObject","UploadFile","Map","checkButtonsDebounced","Runtime","debounce","checkButtons","init","getEditor","_ref$data","reinit","getContainer","selectorNode","index","controller","controllers","_ref2$data","element_id","_ref2$data$","doc_prefix","securityNode","getFormId","_this2$parseFile","parseFile","_this2$parseFile2","_id","file","set","has","deleteFile","stopImmediatePropagation","UploadDroppedFiles","toConsumableArray","getData","tr","_this2$parseFile3","_this2$parseFile4","innerHTML","buttonNode","image","lowsrc","insertFile","nameNode","addEventListener","style","cursor","imageNode","rel","HTMLTableRowElement","Tag","render","taggedTemplateLiteral","appendChild","buildHTML","htmlData","html","additional","join","buildText","fileIds","GetContent","GetViewMode","doc","GetIframeDoc","bxTags","indexOf","getElementById","SaveContent","content2","regexp","foundId","SetContent","Focus","matches","matchAll","map","_ref5","mark","className","display","clear","_ref6","parseInt","UploadImage","_templateObject$1","DiskFile","_UploadFile","blob","onCustomEvent","initVideoReceptionForTheFirstController","initImageReceptionForTheFirstController","onChange","complete","setTimeout","diskFileParser","fileToUpload","onSuccess","_ref4$data","objectDestructuringEmpty","unsubscribe","Promise","resolve","reject","_ref5$data","onFailed","_ref6$data","getKnownParser","bindAutoSave","formNode","addCustomEvent","ob","FORM","setAttribute","Init","form_data","isNotEmptyString","CheckAndReInit","BXAUTOSAVE","removeAttribute","Prepare","showPanelEditor","editorParams","save","toolbar","IsShown","dom","toolbarCont","opacity","Show","classList","add","Hide","remove","userOptions","showUrlPreview","urlPreviewId","urlPreview","BXUrlPreview","OnAfterUrlConvert","url","attachUrlPreview","OnBeforeCommandExec","isContentAction","oAction","isPlainObject","href","detachUrlPreview","uf","customizeHTMLEditor","contextMenu","items","TEXT","bbMode","ACTION","GetTargetItem","element","selection","RemoveNode","controls","FontSelector","SetWidth","bindHTML","submitButton","preventDefault","stopPropagation","cancelButton","bindToolbar","fileButton","toString","count","filesCount","Math","max","UI","Counter","color","Color","GRAY","animate","update","BXPostFormTags","InsertLink","OnClick","InsertVideo","quoteNode","Quote","OnMouseDown","CheckCommand","_templateObject$2","intersectionObserver","observeIntersection","entity","IntersectionObserver","entries","entry","isIntersecting","unobserve","target","observedCallback","threshold","observe","justCounter","Toolbar","eventObject","adjustMorePosition","moreItem","showSubmenu","insertAfter","button","buttonId","isElementNode","item","found","itemBefore","toolbarItem","dataset","insertBefore","getItems","getVisibleItems","visibleItems","offsetTop","clientHeight","getHiddenItems","hiddenItems","visibleItemsLength","getPopup","popup","PopupManager","create","cacheable","getPopupContainer","closeByEsc","autoHide","angle","bindElement","offsetLeft","events","onClose","popupContainer","createElement","show","TasksLimit","showPopup","tasksLimitPopup","getPopupById","getPopupId","Popup","getTasksLimitPopupContent","lightShadow","position","closeIcon","setBindElement","bindPosition","Dom","padding","children","onClickTasksLimitPopupSlider","hidePopup","InfoHelper","isLimit","limitAnalyticsLabels","module","source","subject","close","_classStaticPrivateFieldSpecGet","receiver","classConstructor","descriptor","_classCheckPrivateStaticAccess","_classCheckPrivateStaticFieldDescriptor","_classApplyDescriptorGet","TypeError","Editor","options","ctrlEnterHandler","parsers","lazyLoad","tasksLimitExceeded","formId","eventNode","bxHtmlEditable","formEntityType","repo","isArray","Object","setEditorParams","bindEvents","Get","inited","jobs","counter","assign","OnEditorInitedBefore","OnCreateIframeAfter","OnEditorInitedAfter","eventName","closure","removeCustomEvent","OnShowLHE","OnButtonClick","parser","addParser","_ref7","someObjectToReceiveHTMLEditor","_ref8","_ref8$data","insertContent","_ref9","_ref9$data","beforeButton","getToolbar","setEditor","isFunction","forms","submit","config","groupCollapsed","AddButton","AddParser","groupEnd","_ref10","_ref10$compatData","imageBase64","UploaderUtils","dataURLToBlob","substr","referrerToEditor","then","_ref11","replacement","GLOBAL_TARGET","_ref12","_ref12$compatData","placeHolder","active","timeoutId","activate","clearTimeout","isFileTransfer","disActivate","catchFiles","onShowControllers","lhe","iteratorBuffer","iterator","constructor","_shownForms","keys","next","done","_ref13","_ref13$data","_ref14","_ref14$data","_ref15","_ref15$data","_ref16","_ref16$data","AllowBeforeUnloadHandler","DenyBeforeUnloadHandler","MouseEvent","bubbles","cancelable","view","iframeView","dispatchEvent","editorIsLoaded","sandbox","_this4","addParserAfterDebounced","_this5","editorMode","InsertHtml","AutoResizeSceleton","dummy","WrapWith","showControllers","property","isString","oEditor","SetConfigHeight","ResizeSceleton","_ref17","_this6","_ref18","_ref19","setFocus","FCFormId","duration","start","scrollHeight","finish","transition","easing","makeEaseOut","transitions","quad","step","state","cssText","adjust","overflow","_ref20","_ref20$data","res","actionQueue","showPanelEditor$$1","getContent","setContent","controllerInit","status","setData","fieldName","writable","getHandler","getHandlerByFormId","reinitData","editorID","userFieldName","userField","reinitDataBefore","PostForm","PostFormTasksLimit","Main","Event","selector","mentionParams","buttonID","sharpButton","addNewLink","tagsArea","hiddenField","popupContent","ready","proxy","prototype","tagsContainer","popupInput","findChild","tags","findChildren","cnt","onTagDelete","tagBox","tagValue","onButtonClick","onAddNewClick","PopupWindow","zIndex","buttons","PopupWindowButton","message","click","onTagAdd","onKeyPress","focus","addTag","tagStr","split","util","allTags","in_array","newTagDelete","newTag","attrs","class","createTextNode","PreventDefault","keyCode","which","BXPostFormImportant","inputName","fireButton","activeBlock","form","showActive","hideActive","hide","lastWaitElement","MPFbuttonShowWait","el","addClass","defer","disabled","MPFMention","listen","plus","bSearch","mode","someObject","bindNode","isDomNode","isNotEmptyObject","selectorId","MPFgetSelectorId","dialog","EntitySelector","Dialog","MPFcreateSelectorDialog","enableSearch","deselectAll","search","popupBindOptions","focusSearch","top","adjustPosition","KEY_CODES","mentText","GetTextContent","shiftKey","modifiers","altKey","ctrlKey","getModifierState","range","GetRange","txt","endContainer","textContent","determiner","slice","endOffset","prevS","listenFlag","leaveContent","setStart","setEnd","SetSelection","props","Surround","getMentionNodePosition","activeDialogTab","getActiveTab","enter","up","down","left","right","KeyboardEvent","iframeKeyDownPreventDefault","collapsed","findParent","n","SetAfter","escape","mentTextOrig","_lastText","lastText","matchSep","sepNode","INVISIBLE_SPACE","InsertAfter","textareaKeyDownPreventDefault","GetValue","valueBefore","charPos","lastIndexOf","shiftPressed","shiftTimeout","selectionStart","lastChar","textarea","pos","mention","mentPos","editorPos","areaCont","editorDocScroll","GetWindowScrollPos","bottom","scrollTop","scrollLeft","BxInsertMention","editorId","bNeedComa","LHEPostForm","spaceNode","entityId","htmlspecialcharsback","bxTagData","ReplaceNode","InsertNode","parentMention","SetValue","setSelectionRange","fireAddEvent","dialogParams","targetNode","context","multiple","clearSearchOnSelect","hideOnSelect","hideByEsc","entities","compactView","onShow","BXfpdOnDialogOpen","onHide","BXfpdOnDialogClose","selectedItem","getTitle","entityType","getEntityId","MPFMentionInit","initDestination","DEST_DATA","destData","JSON","selectorInstance","preselectedItems","setPreselectedItems","isExtranet","isEmail","addItem","avatar","customData","email","select","callbackParams","toLowerCase","ucFormManager","reg","RegExp","ment","firstChild","nodeType","nodeValue","MPFEntitySelector","inputNode","messages","tagNodeId","inputNodeId","TagSelector","dialogOptions","recalcValue","getDialog","getSelectedItems","allUsersTitle","allowView","isBoolean","allowToAll","emailUsers","allowSearchEmailUsers","inviteGuestLink","myEmailUsers","features","blog","selectMode","allowFlatDepartments","addButtonCaption","addButtonCaptionMore","renderTo","selectedItems","stringify"],"mappings":"CAAC,WAEA,GAAIA,OAAO,eACX,CACC,OAGFC,KAAKC,GAAKD,KAAKC,IAAM,IACpB,SAAUC,EAAQC,EAAiBC,EAAmCC,EAAWC,GACjF,aAEA,IAAIC,EAAuB,WACzB,SAASA,EAAQC,EAAQC,GACvBC,aAAaC,eAAeX,KAAMO,GAClCG,aAAaE,eAAeZ,KAAM,KAAM,cACxCU,aAAaE,eAAeZ,KAAM,eAAgB,CAChDa,KAAM,mBACNC,cAAe,oBACfC,oBAAqB,MACrBC,IAAK,YACLC,YAAa,MAEfjB,KAAKQ,OAASA,EACdR,KAAKS,WAAaA,EAClBT,KAAKkB,QAAUlB,KAAKkB,QAAQC,KAAKnB,MAGnCU,aAAaU,YAAYb,EAAS,CAAC,CACjCc,IAAK,UACLC,MAAO,SAASJ,OACf,CACDG,IAAK,QACLC,MAAO,SAASC,EAAMC,GACpB,OAAOA,IAER,CACDH,IAAK,UACLC,MAAO,SAASG,EAAQC,EAAOC,GAC7B,MAAO,KAER,CACDN,IAAK,YACLC,MAAO,SAASM,IACd,OAAO5B,KAAK6B,eAAiB,OAE9B,CACDR,IAAK,YACLC,MAAO,SAASQ,IACd,G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